package org.jeecg.modules.device.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 设备记录表Vo
 * @Author: jeecg-boot
 * @Date:   2024-04-17
 * @Version: V1.0
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="iot_dev_device_record_vo对象", description="设备记录VO")
public class DevDeviceRecordVo implements Serializable {
    private static final long serialVersionUID = 1L;

	/**设备编号*/
    private String deviceCode;
    /**设备类型*/
    private String deviceType;
	/**设备数据*/
    private String deviceValue;
	/**数据单位*/
    private String deviceUnit;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private java.util.Date updateTime;
}
